package com.example.demo_redis_test.configuration;

import com.example.demo_redis_test.configuration.domain.ConfigA;
import com.example.demo_redis_test.configuration.domain.ConfigB;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import(ConfigA.class)
public class ConfigBConfiguration {

    @Bean
    public ConfigB getConfigB(){
        return new ConfigB();
    }
}
